﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="UserProfile.aspx.cs" Inherits="Imageo.ui.UserProfile" %>

<%@ Register Assembly="FUA" Namespace="Subgurim.Controles" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContentPlaceholder" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceholder" runat="Server">
    <center>
        <table width="600">
            <tr>
                <td align="left">
                    <div>
                        <span class="blueTitle">User Profile</span>
                    </div>
                </td>
                <td>
                    <asp:Label ID="msgStatus" runat="server" Style="color: Red; font-weight: bold"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 340px">
                    <div class="pnlCurvyWhite" style="width: 300px; height: 350px; background: black;
                        text-align: center; vertical-align: middle; overflow: hidden">
                        <div style="width: 300px; height: 350px;">
                            <asp:Image runat="server" Heigth="250px" ID="imgUserPicture" ImageUrl="~/images/photo_not_available.jpg"
                                Style="max-width: 300px; max-height: 250px;" />
                        </div>
                    </div>
                </td>
                <td align="center">
                    <div class="pnlCurvyWhite" style="height: 350px; text-align: center;">
                        <table width="400px" style="text-align: left">
                            <tr>
                                <td>
                                    Login
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLogin" runat="server" Width="250px" CssClass="flatTextBox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Nickname
                                </td>
                                <td>
                                    <asp:TextBox ID="txtNickname" runat="server" Width="250px" CssClass="flatTextBox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Receive Emails
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkReceiveEmails" runat="server"></asp:CheckBox>
                                </td>
                            </tr>
                            <tr runat="server" visible="false">
                                <td>
                                    New Password
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPassword" runat="server" Width="250px" CssClass="flatTextBox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr runat="server" visible="false">
                                <td>
                                    Retype Password
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPassword2" runat="server" Width="250px" CssClass="flatTextBox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Picture
                                </td>
                                <td>
                                    <asp:FileUpload ID="fupPicture" runat="server" Width="247px" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Professional
                                </td>
                                <td>
                                    <a href="mailto:pro-request@imageoweb.eu" runat="server" id="lnkRequestPro" >Request for professional user status</a>
                                    <asp:Label id="lblProUser" runat="server">Professional Status enabled</asp:Label>
                                </td>
                            </tr>
                            <tr id="rowPro1" runat="server" style="margin-top: 100px;">
                                <td>
                                    Pro Site Url
                                </td>
                                <td>
                                    <asp:Label ID="txtUrl" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr id="rowPro2" runat="server" style="margin-top: 100px;">
                                <td>
                                    Background color
                                </td>
                                <td>
                                    <asp:TextBox runat="server" class="color" ID="txtBackColor"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="rowPro3" runat="server" style="margin-top: 100px;">
                                <td>
                                    Foreground color
                                </td>
                                <td>
                                    <asp:TextBox runat="server" class="color" ID="txtForeColor"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="rowPro4" runat="server" style="margin-top: 100px;">
                                <td>
                                    Show Borders
                                </td>
                                <td>
                                    <asp:CheckBox runat="server" ID="chkBorders"></asp:CheckBox>
                                </td>
                            </tr>
                            <tr id="rowPro5" runat="server" style="margin-top: 100px;">
                                <td>
                                    Image url
                                </td>
                                <td>
                                    <asp:TextBox runat="server" ID="txtImageUrl"  Width="250px" CssClass="flatTextBox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <asp:Button ID="btnSave" runat="server" Text="Save" Style="margin-top: 50px;" OnClick="btnSave_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </center>
</asp:Content>
